/**
 * An attribute. Returned by the Atomic Force XPath implementation
 * when querying for Attribute nodes.
 */
public interface Attribute {
	
	  /**
	   * Get the QName of the attribute
	   * 
	   * @return The attribute QName
	   */
	  XML.QName getQName();
	  
	  /**
	   * Return the text value of the attribute
	   * 
	   * @return The attribute value
	   */
	  String getText();
	  
	  /**
	   * Set the text value of the attribute. The value will be automatically 
	   * escaped for proper serialization to XML
	   * 
	   * @param text The attribute value
	   */
	  Attribute setText(String text);	  
}  
